package com.group.eams.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.group.eams.pojo.dto.SupplierQueryDto;
import com.group.eams.pojo.entity.Supplier;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.group.eams.pojo.vo.SupplierListVo;
import org.apache.ibatis.annotations.Param;

/**
* @author 恩哲欣
* @description 针对表【supplier(供应商管理)】的数据库操作Mapper
* @createDate 2024-10-29 16:09:34
* @Entity com.group.eams.pojo.entity.Supplier
*/
public interface SupplierMapper extends BaseMapper<Supplier> {

    /**
     * 分页查询
     * @param page
     * @param supplierQueryDto
     * @return
     */

    Page<SupplierListVo> findByQueryDto(Page<SupplierListVo> page, @Param("supplierQueryDto") SupplierQueryDto supplierQueryDto);

}
